package cn.john.sysmanager.service.impl;

import cn.john.basic.service.impl.BaseServiceImpl;
import cn.john.sysmanager.domain.DictionaryDetail;
import cn.john.sysmanager.mapper.DictionaryDetailMapper;
import cn.john.sysmanager.service.IDictionaryDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictionaryDetailServiceImpl extends BaseServiceImpl<DictionaryDetail> implements IDictionaryDetailService {
    @Autowired
    private DictionaryDetailMapper dictionaryDetailMapper;

    @Override
    public void removeTypesId(Long id) {
        dictionaryDetailMapper.deleteTypesId(id);
    }

    @Override
    public void patchTypesIdDelete(List<Long> ids) {
        dictionaryDetailMapper.patchTypesIdDelete(ids);
    }
}
